package com.microinvest.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Time;

@Data
@NoArgsConstructor
@AllArgsConstructor
//用户收藏
public class UserStockFavorites{
    int userId;
    String stockSymbol;
    Time createdAt;

    public UserStockFavorites(int userId,String stockSymbol){
        this.userId=userId;
        this.stockSymbol=stockSymbol;
    }
}
